package com.example.litterpainterdemo.utils

import android.graphics.Color
import kotlin.random.Random

object ColorUtil {

    fun getColors(count:Int):List<Int>{
        val colors = arrayListOf<Int>()
        for (i in 0 .. count){
            val red = Random.nextInt(255)
            val green = Random.nextInt(255)
            val blue = Random.nextInt(255)
            val color = Color.rgb(red, green, blue)
            colors.add(color)
        }

        return colors
    }
}